<?php if($this->hasBuy == 1):?>
<div id="invitationCopy" style="padding:5px 10px 5px 10px;text-align:left;line-height:18px;background-color:#fffd6a;border:2px #000 solid;margin:0 10px;top:0px;width:957px;">
	<div><a id="dontremindme" href="javascript:;">[Don't remind me]</a>&nbsp;&nbsp;&nbsp;&nbsp;<strong>You are our paying customer, <a style="text-decoration:underline;" href="<?php echo MY_URL;?>/bring-a-friend-and-earn-with-us">see more about "Your friends buy jersey, then you make money!"</a></strong></div>
	<div style="color:#000;font-size:11px;">(<a style="pointer:cursor;" title="Those who sign up for bestcheapjerseydeal using your invitation link will become your referee.">?</a>) <strong>Your Invitation Link : </strong><input id="inlinkInput" style="width:450px;" type="text" value="<?php echo $this->marketingLink;?>" />&nbsp;&nbsp;&nbsp;(<a style="pointer:cursor;" title="Tell friends the code in case they don't sign up by invitation link.">?</a>)<strong>Your Invitation Code: </strong><input id="incodeInput" style="width:80px;" type="text" value="<?php echo $this->inviteCode;?>" /></div>
	<div style="margin:10px 0px 0px 0px;" class="clearfix">
		<span style="float:left;margin:10px 5px 0px 0px;font-sise:17px;font-weight:bold;"><a style="text-decoration:underline;color:#000;margin-right:100px;" href="/adminb?iframeUrl=adminb-mlm">Check my referee account here</a> Share with: </span><span class="f-iblk" style="float:left;width:226px;height:39px;" id="shareThisBtn" ></span>
	</div>
	<script type="text/javascript">
		$(function(){
			stLight.options({publisher: "f0e640f7-8760-4a55-b739-e5aae5ea99e2", doNotHash: false, doNotCopy: false, hashAddressBar: true});
			stWidget.addEntry({
				"service":"sharethis",
				"element":document.getElementById('shareThisBtn'),
				"url":"<?php echo $this->marketingLink;?>",
				"title":"Bring a friend and earn with us!",
				"type":"large",
				"text":"Hey buddy, join bestcheapjerseydeal Money Plan with the invitation code: <?php echo $this->inviteCode;?>, save 10% for soccer jersey and start earning your great fortune!" ,
				"image":"<?php echo MY_URL;?>/images/mlm/sharelogo.jpg",
				"summary":"Hey buddy, join bestcheapjerseydeal Money Plan with the invitation code: <?php echo $this->inviteCode;?>, save 10% for soccer jersey and start earning your great fortune!"   
			});
			$('#shareThisBtn').find('.stLarge').css('background','url(/images/mlm/share.jpg) no-repeat center');
			$('#shareThisBtn').find('.stLarge').addClass('f-iblk');
			$('#shareThisBtn').find('.stLarge').css('width','226px');
			$('#shareThisBtn').find('.stLarge').css('height','39px');
			$('#inlinkInput').click(function(){
				$(this).select();
			});
			$('#incodeInput').click(function(){
				$(this).select();
			});
			$('#dontremindme').click(function(){
				var date=new Date(); 
				var expireDays=10; 
				date.setTime(date.getTime()+expireDays*24*3600*1000); 
				document.cookie="zcshop_mlmtips=no;expire="+date.toGMTString(); 
				$('#invitationCopy').hide();
			});
		});
	</script>
</div>
<?php endif;?>